package com.anyou.mall.goo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import com.anyou.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.anyou.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 汽配商和优惠券的关系对象 goo_goods_coupon_relation
 *
 * @author gaochaohao
 * @date 2022-04-11
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper=false)
@ApiModel(value = "商品和优惠券的关系")
@TableName(value = "goo_goods_coupon_relation")
public class GoodsCouponRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品和优惠券关联编号 */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("商品和优惠券关联编号")
    private Long gooGoodsCouponRelationId;

    /** 优惠券编号 */
    @ApiModelProperty("优惠券编号(前端可以不传)")
    @Excel(name = "优惠券编号")
    private Long goodsCouponId;

    /** 汽配商编号 */
    @ApiModelProperty("汽配商编号")
    @Excel(name = "汽配商编号")
    private Long carPartsShopId;

    /** 汽配商编号 */
    @ApiModelProperty("商品编号")
    @Excel(name = "商品编号")
    private Long goodsId;

    /** 配件分类编号多选(（品类卷） */
    @ApiModelProperty("配件分类编号多选(（品类卷）")
    @Excel(name = "配件分类编号(", readConverterExp = "品类卷")
    private Long partsClassifyId;



}
